let server = require("./server");
let router = require("./router");
let requestHandlers = require("./requestHandlers");

let handler = {};
handler['/'] = requestHandlers.index;
handler['/index'] = requestHandlers.index;
handler['/user'] = requestHandlers.user;
handler['__NotFound'] = requestHandlers.__NotFound;

server.start(router.route, handler);